///////////////////////////////////////////////////////////////////////////////
// Project: Hoyo Client Game
//
// hy_team_data.h
// Created: 2013-7-30
// Author: Like Cheng
///////////////////////////////////////////////////////////////////////////////
#pragma once
#include "hy_includes.h"

class hy_team_data
{
public:
	hy_team_data();
	virtual ~hy_team_data();

	bool				init();

	//void				set_player_value( Json::Value &v ){ m_player_value = v; m_is_load = 1; }

	int					get_team_nums();
	int					get_team_leader_id();
	const char*			get_team_name();
	int_vec				get_team_list();
public:
	int					m_player_id;
	Json::Value			m_player_value;
};

typedef std::map< int, hy_team_data* >	hy_team_data_map;